<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>XMind Viewer</title>
  <style>
    html,
    body {
      margin: 0;
      padding: 0;
    }

    #app {
      width: 100vw;
      height: 100vh;
    }

    #toolbar {
      position: absolute;
      left: 0;
      top: 5px;
      right: 5px;
      display: flex;
      gap: 1px;
      justify-content: space-between;
    }

    .title {
      font-size: large;
      font-weight: bold;
    }

    .install {
      font-size: x-small;
      background-color: #4d4d4d;
      border-radius: 3px;
      padding: 2px 3px;
      line-height: 12px;
      color: #fff;
      font-family: 'Courier New', Courier, monospace;
      user-select: all;
    }
  </style>
  <script type="module" crossorigin src="./assets/index-d7d1563f.js"></script>
</head>

<body>
  <div id="app"></div>
  <div id="toolbar">
    <div>
      <span class="title">XMind-Viewer</span>
      <a href="https://gitee.com/hyjiacan/xmind-viewer" target="_blank">源码</a>
      <span class="install">npm i @hyjicacan/xmind-viewer</span>
    </div>
    <div>
      <label id="chooseLocalFile">
        <span>选择 XMind 文件</span>
        <input type="file" id="file" />
      </label>
    </div>
  </div>
</body>

</html>